package com.conghu.crm.workbench.service;

import com.conghu.crm.vo.PageListVo;
import com.conghu.crm.workbench.domain.Activity;
import com.conghu.crm.workbench.domain.ActivityRemark;

import java.util.List;
import java.util.Map;

public interface ActivityService {
    boolean addActivity(Activity activity);

    PageListVo<Activity> searchActivity(Map<String, String> map);

    boolean deleteActivity(String[] ids);

    Map<String, Object> getUserListAndActivity(String id);

    boolean update(Activity activity);

    Activity detail(String id);

    List<ActivityRemark> getRemarkListByAid(String activityId);

    boolean saveRemark(ActivityRemark activityRemark);

    boolean updateRemark(Map<String, String> map);

    boolean deleteRemark(String id);
}
